<?php

/* 样板 order */
class Color_cardModel extends BaseModel {
    var $table  = 'color_card';
    var $prikey = 'cc_id';
    var $_name  = 'cc';
    var $alias  = 'cc';
    var $_relation = array( 
			'has_member' => array(
                            'model' => 'member',
                            'type' => HAS_ONE,
                            'foreign_key'   => 'user_id',
							'refer_key'=>'user_id'
            ),
			);
    
    
}
?>